package com.bonc.ioc.dao;

import com.bonc.ioc.base.mapper.BaseDao;
import com.bonc.ioc.vo.KnowledgesVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @description:
 * @author: wangqinglin
 * @date: 2021/3/18 11:06
 * @change : 2021/3/18 11:06 by q8541q@163.com  for init
 */
@Mapper
public interface KnowledgesMapper extends BaseDao<KnowledgesVo> {

    /**
     * select by primary key
     *
     * @param id primary key
     * @return object by primary key
     */
    KnowledgesVo selectByPrimaryKey(Long id);

    List<Map> getKnowledgeListInfos();
}